feat(cli): gate pro commands behind DEVSY_PRO_ENABLED - #478
Conversation
The pro feature is not ready for general use. Hide the `pro` command tree from the CLI by default to avoid user confusion, and add an opt-in `DEVSY_PRO_ENABLED=true` env var to re-expose it for internal testing.
✅ Deploy Preview for devsydev canceled.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adds environment variable gating for the pro command. When ChangesPro command feature gate
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
procommand tree is now hidden from the CLI by default to avoid user confusion.DEVSY_PRO_ENABLED=truere-exposes the command (and the "Platform commands:" help group) for internal testing — no rebuild required.proflag plumbing opt in viat.Setenv(envProEnabled, "true"); a new test locks in the default-off behavior.Summary by CodeRabbit
New Features
Tests